//package com.nengchuan.eic.nceconomy.controller;
//
//
//import com.nengchuan.eic.nceconomy.entity.vo.SheetDetail;
//import com.nengchuan.eic.nceconomy.service.SwPropertyDictService;
//import com.nengchuan.model.model.WrappedResult;
//import com.nengchuan.util.NullCheckUtils;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiResponse;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.http.MediaType;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
///**
// * <p>
// * 三维属性字典 前端控制器
// * </p>
// *
// * @author luoping
// * @since 2020-05-07
// */
//@RestController
//@RequestMapping("/sw-property-dict")
//@Api(value = "SwPropertyDataController", tags = "三维属性字典")
//public class SwPropertyDictController {
//
//    @Autowired
//    private SwPropertyDictService swPropertyDictService;
//
//    @ApiOperation("获取三维属性字典Type")
//    @GetMapping(value = "/getType",produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
//    @ApiResponse(code = 200, message = "成功为true,失败为false", response = WrappedResult.class)
//    public WrappedResult<List<String>> getType(){
//        return WrappedResult.success(swPropertyDictService.getType());
//    }
//
//    @ApiOperation("根据type获取property")
//    @GetMapping(value = "/getPropertyByType",produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
//    @ApiResponse(code = 200, message = "成功为true,失败为false", response = WrappedResult.class)
//    public WrappedResult<List<String>> getPropertyByType(@RequestParam("type") String type){
//        return WrappedResult.success(swPropertyDictService.getPropertyByType(type));
//    }
//
//}
